﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Library;


//Todo change namespace
namespace SimulationGame
{
	public class EntryPoint : Microsoft.Xna.Framework.Game
	{
		GraphicsDeviceManager graphics;
		ScreenManager screenManager;

		public EntryPoint()
		{
			graphics = new GraphicsDeviceManager(this);
			Content.RootDirectory = "Content";
			screenManager = new ScreenManager(this);
			GameSettings gameSettings = new GameSettings(graphics);
			this.IsMouseVisible = true;
			//GameSettings.SetResolution(800, 600, false);
			Components.Add(screenManager);
			screenManager.AddScreen(new WorldScreen(WorldScreen.Size.Small,WorldScreen.Resources.Medium));
		
		}
	}

	static class Program
	{
		static void Main(string[] args)
		{
			using (EntryPoint game = new EntryPoint())
			{
				game.Run();
			}
		}
	}
}
